﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LiteratureManage.Domain.DataBackup
{
    public class DBLiteratureBackup : DBTableBackup
    {
        public DBLiteratureBackup(IDBTableBackupExecutor backupExecutor)
            : base("LITERATURE", backupExecutor)
        {

        }

        protected override string BuildQueryText(DateTime theDate)
        {
            return String.Format("select * from LiteratureManage.dbo.LITERATURE where CREATE_DATE<''{0}''", theDate);
        }
    }
}
